package com.jz.netthings.bloodsources.mapper;

import com.jz.netthings.bloodsources.bean.XyNoPulping;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.jz.netthings.bloodsources.bean.XyRemind;
import com.jz.netthings.exception.AdscmSystemException;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 未献浆记录表 Mapper 接口
 * </p>
 *
 * @author 张凡
 * @since 2019-08-13
 */
public interface XyNoPulpingMapper extends BaseMapper<XyNoPulping> {
    public Boolean  updateByProviderId(@Param("xyNoPulping") XyNoPulping xyNoPulping);
    public List<XyNoPulping> queryXyNoPulpingByProviderId(@Param("providerId")Integer providerId,@Param("isAgingPulping") Integer isAgingPulping);

    public List<XyNoPulping> queryByCondition(
            @Param("nurseId")Integer nurseId,
            @Param("nurseName")String nurseName,
            @Param("nurseDeptId")String nurseDeptId,
            @Param("providerName")String providerName,
            @Param("createTimeLess")String createTimeLess,
            @Param("createTimeGreater")String createTimeGreater,
            @Param("currentPage")int currentPage,
            @Param("pageSize")int pageSize);
    public Integer queryByCount(
            @Param("nurseId")Integer nurseId,
            @Param("nurseName")String nurseName,
            @Param("nurseDeptId")String nurseDeptId,
            @Param("providerName")String providerName,
            @Param("createTimeLess")String createTimeLess,
            @Param("createTimeGreater")String createTimeGreater);
}
